import { ref } from "vue";

export default function InitHook() {
  const loading = ref<boolean>(false);
  const tableRef = ref<any>(null);
  const selectRow = ref<Base.GeneraDataType | null>(null);
  const tableData = ref<Array<Base.GeneraDataType>>([]);
  return {
    selectRow,
    tableData,
    tableRef,
    loading
  };
}
